package rs;

import java.util.HashMap;

public class JobDesc implements Cloneable{
	public String id;
	public String url;
	public HashMap<String, String> props;
	public JobDesc next;
	public String tag = "";
	
	@SuppressWarnings("unchecked")
	public JobDesc clone(){
			JobDesc ret = new JobDesc();
			ret.id = this.id;
			ret.url = this.url;
			ret.props = (HashMap<String, String>) this.props.clone();
			ret.tag = this.tag;
			if(this.next == null){
				ret.next = null;
			} else {
				ret.next = this.next.clone();
			}
			return ret;
	}
}
